import service from '../utils/request'

//Pro____________________________________________________7

//推荐产品列表
export function pro_recommendlist(payload){
    return service.get('api/pro/recommendlist',{params:payload})
}

//产品详情列表
export function detail_pro(payload){
    return service.get('/api/pro/detail/'+payload)
}

//产品分类列表
export function pro_categorylist(payload){
    return service.get('api/pro/categorylist',{params:payload})
}

//产品分类下的品牌列表
export function pro_categorybrandlist(payload){
    return service.get('api/pro/categorybrandlist',{params:payload})
}

//获取某分类下某品牌的产品列表
export function pro_categorybrandprolist(payload){
    return service.get('/api/pro/categorybrandprolist',{params:payload})
}
//搜索列表
export function pro_search(payload){
    return service.get('/api/pro/search',{params:payload})
}
//热门搜索
export function pro_hotword(payload){
    return service.get('api/pro/hotword',{params:payload})
}
//快捷列表
export function index_catelist(payload){
    return service.get('/api/index/catelist',{params:payload})
}
//秒杀
export function pro_seckilllist(payload){
    return service.get('/api/pro/seckilllist',{params:payload})
}
//获取推荐商品列表的数据
export function pro_list(payload){
    return service.get('api/pro/list',{params:payload})
}